package com.wenwu.service;

import java.util.List;

import com.wenwu.common.bean.RelicsAttachment;
import com.wenwu.common.bean.RelicsProtectArea;
import com.wenwu.common.bean.RelicsProtectBasic;
import com.wenwu.common.exception.RelicsException;
import com.wenwu.common.page.PaginationVO;

public interface ProtectAreaService {

	String addObj(RelicsProtectArea relicsProtectArea) throws RelicsException;

	int selectTotalRecord(RelicsProtectArea relicsProtectArea)
			throws RelicsException;

	PaginationVO selectList(RelicsProtectArea relicsProtectArea,
			PaginationVO pageVo) throws RelicsException;

	RelicsProtectArea selectProtectAreaByProtectId(Integer protectId)
			throws RelicsException;

	RelicsProtectArea selectProtectAreaByBasicId(Integer basicId)
			throws RelicsException;

	int deleteByKey(List<?> keys) throws RelicsException;

	int saveData(RelicsProtectArea relicsProtectArea,
			List<RelicsProtectBasic> list,List<RelicsAttachment> ralist) throws RelicsException;
	
	List<RelicsProtectBasic> selectProtectBasicList(List<Integer> list)throws RelicsException;
}
